package com.ruoyi.dailyoperations.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 菜品配置对象 dish_configuration
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class DishConfiguration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 菜品类型 */
    @Excel(name = "菜品类型")
    private String typeName;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishesName;

    /** 原价 */
    @Excel(name = "原价")
    private Long price;

    /** 优惠价 */
    @Excel(name = "优惠价")
    private Long preferentialPrice;

    /** 数量限制 */
    @Excel(name = "数量限制")
    private Long limitNumber;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDate;

    /** 配置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nowDate;

    /** 图片上传 */
    @Excel(name = "图片上传")
    private String imageUpload;

    /** 配置状态 */
    @Excel(name = "配置状态")
    private Long seetingTates;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setDishesName(String dishesName) 
    {
        this.dishesName = dishesName;
    }

    public String getDishesName() 
    {
        return dishesName;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setPreferentialPrice(Long preferentialPrice) 
    {
        this.preferentialPrice = preferentialPrice;
    }

    public Long getPreferentialPrice() 
    {
        return preferentialPrice;
    }
    public void setLimitNumber(Long limitNumber) 
    {
        this.limitNumber = limitNumber;
    }

    public Long getLimitNumber() 
    {
        return limitNumber;
    }
    public void setReleaseDate(Date releaseDate) 
    {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate() 
    {
        return releaseDate;
    }
    public void setNowDate(Date nowDate) 
    {
        this.nowDate = nowDate;
    }

    public Date getNowDate() 
    {
        return nowDate;
    }
    public void setImageUpload(String imageUpload) 
    {
        this.imageUpload = imageUpload;
    }

    public String getImageUpload() 
    {
        return imageUpload;
    }
    public void setSeetingTates(Long seetingTates) 
    {
        this.seetingTates = seetingTates;
    }

    public Long getSeetingTates() 
    {
        return seetingTates;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("dishesName", getDishesName())
            .append("price", getPrice())
            .append("preferentialPrice", getPreferentialPrice())
            .append("remark", getRemark())
            .append("limitNumber", getLimitNumber())
            .append("releaseDate", getReleaseDate())
            .append("nowDate", getNowDate())
            .append("imageUpload", getImageUpload())
            .append("seetingTates", getSeetingTates())
            .toString();
    }
}
